<div id="smtp">
	<div class="autores_header">
		<label><font color="#0431B4">
			SMTP INFORMATION
		</font></label>
	</div>
    <div id="addnewsmtp" style="text-align:center;">
        <br/>
    	<a href="javascript:smtpadd('autores/addnewsmtp.php','smtpadd','640','480','center','front');" class="btn btn--blue btn--m">
        Add New SMTP</a>
    <div>
    <div id="smtplist" align="center">
    	<br />
        <br />
<?php    	include_once PATH."autores/smtplist.php"; ?>
    </div>
    
</div>


<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!--
var smtpaddWindow=null;
function smtpadd(mypage,myname,w,h,pos,infocus){

if (pos == 'random')
{LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
else
{LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';smtpaddWindow=window.open('',myname,settings);
if(infocus=='front'){smtpaddWindow.focus();smtpaddWindow.location=mypage;}
if(infocus=='back'){smtpaddWindow.blur();smtpaddWindow.location=mypage;smtpaddWindow.blur();}

}

var smtpeditWindow=null;
function smtpedit(mypage,myname,w,h,pos,infocus){

if (pos == 'random')
{LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
else
{LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';smtpeditWindow=window.open('',myname,settings);
if(infocus=='front'){smtpeditWindow.focus();smtpeditWindow.location=mypage;}
if(infocus=='back'){smtpeditWindow.blur();smtpeditWindow.location=mypage;smtpeditWindow.blur();}

}
// -->
</script>